package com.app.couponsharelife.data.bean

/**
 * Created by guluwa on 2018/11/29.
 */
class HomePageBean {

    var list: ListBean = ListBean()

    class ListBean {
        var goodsLibrary: List<GoodsLibraryBean> = ArrayList()
        var picture: List<PictureBean> = ArrayList()
        var category: List<PictureBean> = ArrayList()
    }

    class GoodsLibraryBean {
        var id: String = ""
        var bannername: String = ""
        var cate: String = ""
        var thumb: String = ""
        var favoriteid: String = ""
        var goods: GroupGoodBean.ListBean = GroupGoodBean.ListBean()
        var first = true
    }

    class PictureBean {
        /**
         * id : 27
         * bannername : 我要开店
         * cate : 1
         * thumb : /Public/banner/15287064021782.jpg
         * favoriteid : 0
         */

        var id: String = ""
        var bannername: String = ""
        var cate: String = ""
        var thumb: String = ""
        var favoriteid: String = ""
        var isopen: String = ""
        var bgcolor: String = ""
        var type: String = ""
        var rebate: String = ""
        var name: String = ""
        var link: String = ""
    }

    class Banner() {
        var images: List<String> = ArrayList()
    }

    class TypeBean(var topType: HomePageBean.PictureBean, var botType: HomePageBean.PictureBean?)

    var bannerTop = Banner()

    var bannerBot = Banner()

    var types = arrayListOf<TypeBean>()

    var part2 = arrayListOf<HomePageBean.PictureBean>()

    var part4 = arrayListOf<HomePageBean.PictureBean>()

    var part5 = arrayListOf<HomePageBean.PictureBean>()

    var selectedGoods = GoodsLibraryBean()

    var todayCheap = HomePageBean.PictureBean()
}